@import './modules/reset';
@import './modules/header';
@import './modules/footer';
$color: green;

p {
  color: $color;
}

.main {
  width: 1000px;
  margin: 0 auto;

  &-top {
    height: 100px;

    &-title {
      color: red;
    }
  }

  >a {
    color: #666;

    &:hover {
      color: #e00;
    }
  }

}

.banner {
  margin: {
    top: 20px;
    left: 30px;
  } 
}

$list: 20px 30px;
.top {
  margin-top: nth($list, 2);
}

$list2: (20px 30px) (40px 10px 20px);
.title {
  margin: nth($list2, 2);
}

$pos: left;
.footer-#{$pos} {
  border-#{$pos}: 1px solid #eee;
  color: #fff;
}

$hgroup: (h1:50px,h2:40px,h3:30px);
@each $key,$value in $hgroup {
  #{$key} {
    font-size: $value;
  }
}

@mixin center ($width:1000px) {
  margin: {
    left: auto;
    right: auto;
  }
  width: $width;
}
.container {
  @include center(1200px);
}
.container1 {
  @include center;
}

$baseFontSize: 16px;
@function pxToRem ($px) {
  @return $px / $baseFontSize * 1rem;
}

.section {
  width: pxToRem(200px);
}

.section-right {
  @extend .section;
  height: 100px;
}
.test{
	width: 20px;
	height: 1400px;
	border: 1px solid;
}
.lunbo-banner {
    width: 100%;
    height: 640px;
    position: relative;
    overflow: hidden;
	top:129px;
	z-index: 888;
	// border: 1px solid red;
}
.slideBox {
    position: absolute;
    left: 50%;
    top: 0;
    width: 1920px;
    margin-left: -960px;
}
.bd ul li {
    width: 100%;
    text-align: center;
}
.product-imgs {
    width: 1273px;
    margin: 138px auto 0px;
    text-align: center;
    overflow: hidden;
    text-indent: -7px;
}
.product-imgs img {
    float: left;
    width: 413px;
    height: 230px;
    margin-left: 9px;
}
.product-imgs img:hover{
	transform: scale(1.02);
}
.product-idea {
    width: 100%;
}
.product-idea img {
    display: block;
    width: 100%;
    margin: 10px auto 0;
}
.product-hot, .product-tz, .product-idea, .product-life {
    width: 1260px;
    overflow: hidden;
    margin: 60px auto 0;
}
.product-idea .title-bg {
    background: #f2f2f2;
}
.product-hot-title.tit3 {
    color: #648cde;
}
.product-hot-title {
    height: 60px;
    line-height: 60px;
    text-align: center;
    // background: url(../images/secretshop/title-bg.jpg) no-repeat center 50% #f2f2f2;
    font-size: 24px;
    font-weight: bold;
    color: #f46f55;
    position: relative;
    margin: 0 auto 28px;
    width: 1260px;
}
//float-fixed-left
.left-float-box {
    position: fixed;
    left: 0;
    top: 200px;
    width: 233px;
    height: 392px;
    background:white url(/images/black-point.png) no-repeat 100px 15px;
    z-index: 1000;
}

.left-float-box .left-float-close {
    position: absolute;
    top: 0;
    right: -33px;
    width: 33px;
    height: 33px;
    display: block;

}
.left-float-box .left-float-close #close1{
	position: absolute;
	left:0;
	top:0;
	right:0;
	bottom: 0;
	margin: auto;
	width: 2px;
	height: 46px;

	transform: rotate(45deg);
	background: #7f7d7d;
}.left-float-box .left-float-close #close2{
	position: absolute;
	left:0;
	top:0;
	right:0;
	bottom: 0;
	margin: auto;
	width: 2px;
	height: 46px;
	
	background: #7f7d7d;
	transform: rotate(-45deg);
}
.left-float-box .left-float-main {
    width: 195px;
    margin: 0 auto;
    padding-top: 50px;
}
.left-float-box .left-float-top {
    text-align: center;
    padding-bottom: 24px;
}
.left-float-box .left-float-top p {
    font-size: 18px;
    color: #a94020;
    line-height: 24px;
}
.left-float-box .left-float-mid p {
    font-size: 16px;
    color: #695343;
    line-height: 24px;
}

